package handlefunc

import (
	"gitee.com/kuma-blog/common"
	"html/template"
	"log"
	"net/http"
)

func ArticlesIndex(w http.ResponseWriter, r *http.Request) {
	t, err := template.ParseFiles(common.TemplateRoot + "articles/index.html")
	if err != nil {
		log.Println(err)
		return
	}
	data := map[string]string {

	}
	t.Execute(w, data)
}
